package com.core.dto;

import lombok.Data;
import org.noear.solon.validation.annotation.NotBlank;
import org.noear.solon.validation.annotation.NotNull;

import java.util.Map;

/**
 * 核心请求参数
 * @author hc
 * @CreateTime 2025/7/29 11:52
 */
@Data
public class CommandRequestDTO {
    @NotBlank(message = "command 不能为空")
    private String command;

    @NotNull(message = "params 不能为空")
    private Map<String, Object> params;

}
